﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<div class="ja-col ja-right1 column">
    <div class="ja-moduletable moduletable clearfix" id="Mod85">
        <h3>
            <span>Tiêu điểm</span></h3>
        <div class="ja-box-ct clearfix">
        <%TotalNews.Models.ItemRepository ir = new TotalNews.Models.ItemRepository(); %>
        <%TotalNews.Helpers.Heppers hp= new TotalNews.Helpers.Heppers(); %>
        <%foreach (var item in ir.GetCategories(1))
          {%>
                <div class="ja-innerdiv">
               
                <h4>
                 <a href="/Item/News/<%=item.ID %>">
                    <%=item.CategoryName %></a>
                    </h4>
                    
                    <%foreach (var t in ir.GetNewItemByCateId(item.ID))
                      {%>
                         <a  href="/Item/Details/<%=t.Id %>">
                            <img src="<%=t.ImageUrl%>" alt="<%=t.Title %>" style=" padding: 2px; margin-right: 10px;width:170px;" />
                            </a>
                                <%=t.Title %>
                            <br />
                            <a  href="/Item/Details/<%=t.Id %>" class="Read more..." style="font-size: 92%;">Chi Tiết »</a>    
                      <%} %>
            </div>
          <%} %>
          
        <%--    <div class="ja-innerdiv">
                <h4>
                    Thể thao</h4>
                <img id="Img59" runat="server" src="/Content/files/cat-2.jpg" alt="Obama">
                Ipsum vel Phasellus ligula dis convallis eu risus consequat justo justo <a id="A21"
                    runat="server" href="#" class="Read more..." style="font-size: 92%;">Chi Tiết »</a>
            </div>
            <div class="ja-innerdiv">
                <h4>
                    Giáo dục</h4>
                <img src="/Content/files/cat-3.jpg" alt="Obama">
                Ipsum vel Phasellus ligula dis convallis eu risus consequat justo justo <a id="A22"
                    runat="server" href="#" class="Read more..." style="font-size: 92%;">Chi Tiết »</a>
            </div>
            <div class="ja-innerdiv">
                <h4>
                    Du lịch</h4>
                <img id="Img60" runat="server" src="/Content/files/cat-4.jpg" alt="Obama">
                Ipsum vel Phasellus ligula dis convallis eu risus consequat justo justo <a id="A23"
                    runat="server" href="#" class="Read more..." style="font-size: 92%;">Chi Tiết »</a>
            </div>
            <div class="ja-innerdiv">
                <h4>
                    Sức khỏe - Gia đình</h4>
                <img id="Img61" runat="server" src="/Content/files/cat-5.jpg" alt="Obama">
                Ipsum vel Phasellus ligula dis convallis eu risus consequat justo justo <a id="A24"
                    runat="server" href="#" class="Read more..." style="font-size: 92%;">Chi Tiết »</a>
            </div>
            <div class="ja-innerdiv">
                <h4>
                    Nhịp sống số</h4>
                <img id="Img1" runat="server" src="/Content/files/cat-6.jpg" alt="Technology">
                Ipsum vel Phasellus ligula dis convallis eu risus consequat justo justo <a id="A1"
                    runat="server" href="#" class="Read more..." style="font-size: 92%;">Chi Tiết »</a>
            </div>--%>
        </div>
    </div>
</div>
<div class="ja-col ja-right2 column">
    <div class="ja-moduletable moduletable_menu clearfix" id="Mod1">
        <h3>
            <span>Main Menu</span></h3>
        <div class="ja-box-ct clearfix">
            <ul class="menu">
                <li class="item1"><a href="http://#vzdemo"><span>Home</span></a></li><li class="item2">
                    <a href="http://#vzdemo"><span>Xã hội</span></a></li><li class="parent item53"><a
                        href="http://#vzdemo"><span>Thể thao</span></a></li><li class="item41"><a href="http://#vzdemo">
                            <span>Văn hóa Giải trí</span></a></li><li class="item467"><a href="http://#vzdemo"><span>
                                Du lịch</span></a></li></ul>
        </div>
    </div>
    <div class="ja-moduletable moduletable_menu clearfix" id="Mod40">
        <h3>
            <span>Thông tin cần biết</span></h3>
        <div class="ja-box-ct clearfix">
            <ul class="menu">
                <li class="item40"><a href="http://#vzdemo"><span>Giá vàng</span></a></li><li class="item38">
                    <a href="http://#vzdemo"><span>Tỉ giá</span></a></li><li class="item43"><a href="http://#vzdemo">
                        <span>Xổ số Kiến thiết</span></a></li></ul>
        </div>
    </div>
    <div class="ja-moduletable moduletable_menu clearfix" id="Mod31">
        <h3>
            <span>Liên kết</span></h3>
        <div class="ja-box-ct clearfix">
            <ul class="menu">
                <li class="item11"><a href="http://www.tuoitre.com.vn"><span>Báo Tuổi Trẻ</span></a></li><li
                    class="item12"><a href="http://vietnamnet.vn"><span>Vietnamnet</span></a></li><li
                        class="item13"><a href="http://www.thanhnien.com.vn"><span>Báo Thanh Niên</span></a></li><li
                            class="item14"><a href="http://www.24h.com.vn"><span>24H</span></a></li><li class="item15">
                                <a href="http://www.dantri.com.vn"><span>Báo Dân Trí</span></a></li><li class="item442">
                                    <a href="http://www.diembao.com"><span>Điểm báo</span></a></li><li class="item443"><a
                                        href="http://www.vnexpress.net"><span>VnExpress</span></a></li></ul>
        </div>
    </div>
    <div class="ja-moduletable moduletable clearfix" id="Mod21">
        <h3>
            <span>Ai đang trực tuyến?</span></h3>
        <div class="ja-box-ct clearfix">
            Hiện có 1000000000 người online
        </div>
    </div>
    <div class="ja-moduletable moduletable clearfix" id="Mod98">
        <div class="ja-box-ct clearfix">
            <div class="bannergroup">
                <div class="banneritem">
                    <a href="http://#vzdemo" target="_blank">
                        <img runat=server src="/Content/files/imgad-1.jpg" alt="Banner" /></a><div class="clr">
                        </div>
                </div>
            </div>
        </div>
    </div>
</div>
